package cloud.shyidong.commerce.request;

import cloud.shyidong.core.request.SimpleInsertRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 电商轮播图添加请求
 * </p>
 *
 * @author syd
 * @since 2023-09-18 15:34:22
 */
@Data
public class CommerceBannerInsertRequest extends SimpleInsertRequest {
    
    /**
     * 租户ID
     */
    private Long tenantId;
    
    /**
     * 图片文件
     */
    @NotBlank(message = "缺少图片")
    private String image;
    
    /**
     * 链接地址
     */
    @NotBlank(message = "缺少链接地址")
    private String url;
    
    /**
     *
     */
    @NotNull(message = "缺少排序")
    private Integer sortIndex;
    
    /**
     *
     */
    private String remark;
    
    
}
